<%--
  Created by IntelliJ IDEA.
  User: Long
  Date: 2020/4/19
  Time: 21:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--<%=request.getScheme()%> <%=request.getServerName()%> <%=request.getServerPort()%> <%=request.getContextPath()%>--%>
<%
    // + request.getContextPath() + "/" 在 tomcat 中配置了 所以将这一段去掉了 http://localhost:8080
    String base = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + "/" ;
%>
<%--${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}/--%>
<!-- 本应该加上项目名 但在项目名配置的时候是 / 所以只到8080 -->
<base href="<%=base%>"/>
<link type="text/css" rel="stylesheet" href="/static/css/style.css" >
<!-- 引入jQuery文件 -->
<script type="text/javascript" src="/static/js/jquery-3.4.1.js"></script>

